/* 混入接收两个参数 */
@mixin bgImg($imgUrl) {
  background-image: url('/assets/tool-items/' + $imgUrl) !important;
}

$chart: 'chart/';
$advanced-charts: 'advanced-charts/';
$condition: 'condition/';
$icon: 'icon/';
$interaction: 'interaction/';
$map: 'map/';
$media: 'media/';
$quota: 'quota/';
$table: 'table/';
$map: 'map/';
$text: 'text/';
$default: 'chart_default.png';

// *************  组件图标枚举   **************//

// panel_echarts
.echarts_init{
  @include bgImg($default);
}

.echarts_line{
  @include bgImg($chart + 'line/dy-line.png');
}


// html
.html_text{
  @include bgImg($text + 'simple-text_238b80f.png');
}
.html_richText{
  @include bgImg($text + 'rich-text_f0887c7.png');
}
.html_link{
  @include bgImg($text + 'chart-link_fe7c26c.png');
}
.html_time{
  @include bgImg($text + 'chart-time_c5dc4d3.png');
}
.html_iframe{
  @include bgImg($media + 'iframe_a0e233d.png');
}
